package com.pet.petadoption.adoption.biz;

import com.pet.petadoption.adoption.entity.Adoption;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface AdoptionBiz {
    List<Adoption> findAllAdoption(Integer index, Integer size,Boolean isAdopted) ;
    Boolean delAdoptionById(Integer id);

    Adoption findById(Integer id,Boolean isAdopted);
    List<Adoption> findByUname (String uname,Boolean isAdopted);
    boolean request (Integer pet_id,Integer adopter_id);


    Boolean delNoAdoptionById(Integer id);

    Integer accessAdoption (Integer id);


}
